package com.google.code.whitetask.old;

/**
 * <p>
 * This exception is thrown when methods are called even though prerequisites
 * are not satisfied. For instance, the method thenRuns on
 * <code>IfRunDecorator</code> should be called after calling the method
 * 'ifResultIs'. In this case, this exception is thrown if thenRuns is called
 * without calling 'ifResultIs'.
 * </p>
 * 
 * @author minslovey
 */
@SuppressWarnings("serial")
public class MethodCallNotSatisfiedPrerequisitesException extends
    RuntimeException {
  public MethodCallNotSatisfiedPrerequisitesException(String message,
      Throwable cause) {
    super(message, cause);
  }

  public MethodCallNotSatisfiedPrerequisitesException(String message) {
    super(message);
  }

  public MethodCallNotSatisfiedPrerequisitesException(Throwable cause) {
    super(cause);
  }
}
